<?php if (!defined('THINK_PATH')) exit(); /*a:3:{s:93:"/app/wwwroot/zhangwei/www/gongzi/public/../application/index/view/manage/payslip_confirm.html";i:1671875146;s:74:"/app/wwwroot/zhangwei/www/gongzi/application/index/view/layout/manage.html";i:1671875144;s:74:"/app/wwwroot/zhangwei/www/gongzi/application/index/view/common/script.html";i:1671875145;}*/ ?>
<!DOCTYPE html>
<html lang="en">
<head class="layui-layout-body">
    <meta charset="utf-8">
    <title><?php echo htmlentities($site['name']); ?></title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
    <meta name="renderer" content="webkit">
    <link href="/assets/css/frontend<?php echo \think\Config::get('app_debug')?'':'.min'; ?>.css?v=<?php echo htmlentities(\think\Config::get('site.version')); ?>" rel="stylesheet">
    <!-- HTML5 shim, for IE6-8 support of HTML5 elements. All other JS at the end of file. -->
    <!--[if lt IE 9]>
    <script src="/assets/js/html5shiv.js"></script>
    <script src="/assets/js/respond.min.js"></script>
    <![endif]-->
    <script type="text/javascript">
        var require = {
            config: <?php echo json_encode($config); ?>
        };
    </script>
</head>
<body class="layui-layout-body" id="layer1">
<div class="layui-layout layui-layout-admin">
    <div class="layui-header">
        <div class="layui-nav layui-layout-right">
            <div class="head_img"><img src="<?php echo cdnurl(htmlentities($user['avatar'])); ?>" alt=""/><?php echo $user['nickname']; ?></div>
        </div>
    </div>
    <div class="layui-side layui-bg-black">
        <div class="layui-side-scroll">
            <!-- 左侧垂直导航区域-->
            <div class="logo"><img src="/assets/manage/images/logo.png" width="64" height="64" alt=""/></div>
            <ul class="layui-nav nav">
                <?php if($auth->check('manage/index')): ?>
                <li class="layui-nav-item <?php echo check_navs_active('manage/index'); ?>">
                    <a href="<?php echo url('manage/index'); ?>"><i class="iconfont icon-shouye"></i>首页</a>
                </li>
                <?php endif; if($auth->check('manage/payslip_add')): ?>
                <li class="layui-nav-item <?php echo check_navs_active('manage/payslip_add'); ?>">
                    <a href="<?php echo url('manage/payslip_add'); ?>"><i class="iconfont icon-gongzitiao"></i>新增工资条</a>
                </li>
                <?php endif; if($auth->check('manage/index')): ?>
                <li class="layui-nav-item <?php echo check_navs_active('manage/payslip_list'); ?>">
                    <a href="<?php echo url('manage/payslip_list'); ?>"><i class="iconfont icon-fasongxiaoxi"></i>发送记录</a>
                </li>
                <?php endif; if($auth->check('manage/payslip_feedback')): ?>
                <li class="layui-nav-item <?php echo check_navs_active('manage/payslip_feedback'); ?>">
                    <a href="<?php echo url('manage/payslip_feedback'); ?>"><i class="iconfont icon-xinxi"></i>反馈查看</a>
                </li>
                <?php endif; if($auth->check('manage/payslip_settings')): ?>
                <li class="layui-nav-item <?php echo check_navs_active('manage/payslip_settings'); ?>">
                    <a href="<?php echo url('manage/payslip_settings'); ?>"><i class="iconfont icon-shezhi2"></i>发放设置</a>
                </li>
                <?php endif; if($auth->check('manage/address_book')): ?>
                <li class="layui-nav-item <?php echo check_navs_active('manage/address_book'); ?>">
                    <a href="<?php echo url('manage/address_book'); ?>"><i class="iconfont icon-bg-maillist"></i>通讯录</a>
                </li>
                <?php endif; ?>
            </ul>
        </div>
    </div>
    <div class="layui-body">
        <div class="content gzt_main">
    <div class="layui-card gzt_header layui-row">
        <div class="item layui-col-md6 selected">
            <i class="icon"></i>
            <span>上传工资表</span>
            <div class="line"></div>
        </div>
        <div class="item layui-col-md6 selected">
            <i class="icon"></i>
            <span>核对工资表</span>
            <div class="line"></div>
        </div>
        <div class="item2 active">
            <i class="icon"></i>
            <span>发放工资表</span>
        </div>
    </div>
    <div class="layui-card gzt_main2">
        <div class="layui-card-header">发放规则</div>
        <div class="layui-card-body">
            <div class="gzt_item layui-clear">
                <div class="layui-elem-quote">工资条显示规则
                    <div class="wen_icon">
                        <i class="iconfont icon-wenhaoxiao" lay-tips="若要调整工资条显示规则，请前往【发放设置】界面中调整"></i>
                    </div>
                </div>
                <div class="item">
                    <div class="checkbox"><i class="iconfont icon-<?php echo !empty($payslip_config['open_hidden_null'])?'gou':'null'; ?>"></i></div>
                    隐藏空值工资项目
                </div>
                <div class="item">
                    <div class="checkbox"><i class="iconfont icon-<?php echo !empty($payslip_config['open_hidden_zero'])?'gou':'null'; ?>"></i></div>
                    隐藏零值工资项目
                </div>
            </div>
            <div class="gzt_item">
                <div class="layui-elem-quote">员工权限设置
                    <div class="wen_icon">
                        <i class="iconfont icon-wenhaoxiao" lay-tips="若要调整员工权限设置规则，请前往【发放设置】界面中调整"></i>
                    </div>
                </div>
                <div class="item">
                    <div class="checkbox"><i class="iconfont icon-<?php echo !empty($payslip_config['open_query_pwd'])?'gou':'null'; ?>"></i></div>
                    开启查询密码
                </div>
                <div class="item">
                    <div class="checkbox"><i class="iconfont icon-<?php echo !empty($payslip_config['open_feedback'])?'gou':'null'; ?>"></i></div>
                    开启疑问反馈
                    <div class="text">工资发放后 <span class="color_4873C1"><?php echo (isset($payslip_config['feedback_days']) && ($payslip_config['feedback_days'] !== '')?$payslip_config['feedback_days']:'0'); ?></span> 天内允许反馈</div>
                </div>
                <div class="item">
                    <div class="checkbox"><i class="iconfont icon-<?php echo !empty($payslip_config['open_hidden_money'])?'gou':'null'; ?>"></i></div>
                    开启金额隐藏
                </div>
                <div class="item">
                    <div class="checkbox"><i class="iconfont icon-<?php echo !empty($payslip_config['open_view_confirm'])?'gou':'null'; ?>"></i></div>
                    开启已阅确认
                </div>
                <?php if($payslip_config['open_view_confirm']): ?>
                <div class="item">
                    <div class="checkbox"><i class="iconfont icon-<?php echo !empty($payslip_config['open_auto_confirm'])?'gou':'null'; ?>"></i></div>
                    自动确认设置
                    <div class="text">工资发放后 <span class="color_4873C1"><?php echo (isset($payslip_config['auto_confirm_hours']) && ($payslip_config['auto_confirm_hours'] !== '')?$payslip_config['auto_confirm_hours']:'0'); ?></span> 小时自动确认</div>
                </div>
                <div class="item">
                    <div class="checkbox"><i class="iconfont icon-<?php echo !empty($payslip_config['open_auto_notice'])?'gou':'null'; ?>"></i></div>
                    确认提醒规则
                    <div class="text">工资发放后 <span class="color_4873C1"><?php echo (isset($payslip_config['auto_notice_hours']) && ($payslip_config['auto_notice_hours'] !== '')?$payslip_config['auto_notice_hours']:'0'); ?></span> 小时提醒员工</div>
                </div>
                <?php endif; ?>
            </div>
        </div>
    </div>
    <div class="add_but_box">
        <a href="<?php echo url('manage/payslip_check', ['id' => $payslip['id']]); ?>" type="button" class="layui-btn layui-btn-primary">上一步</a>
        <a class="layui-btn layui-btn-determine dingshi_but" data-status="2">定时发送</a>
        <a class="layui-btn layui-btn-determine liji_but" data-status="1">立即发送</a>
    </div>
</div>

<div class="pop dingshi_pop">
    <div class="pop_content">
        <form id="post-form" class="layui-form layui-clear" role="form" data-toggle="validator" method="POST" action="manage/payslip_confirm">
            <div class="layui-card-header">提示</div>
            <div class="close iconfont icon-guanbi"></div>
            <div class="layui-card-body">
                <div class="layui-form-item status status_2 hide">
                    <label class="layui-form-label">定时发送时间</label>
                    <div class="layui-input-block">
                        <input type="text" id="render" name="time" placeholder="请选择时间" data-rule="required" data-msg-required="请选择时间" class="layui-input" readonly>
                        <i class="layui-icon layui-icon-date"></i>
                    </div>
                </div>
                <p class="status status_1 hide">您确定将工资发放给所选员工吗？</p>
                <input type="hidden" name="id" value="<?php echo $payslip['id']; ?>">
                <input type="hidden" name="status" value="0">
            </div>
            <div class="pop_but">
                <a class="layui-btn layui-btn-primary">返回</a>
                <button type="submit" class="layui-btn layui-btn-determine">确定</button>
            </div>
        </form>
    </div>
</div>
    </div>
</div>
<link rel="stylesheet" href="/assets/manage/layui/css/layui.css">
<link rel="stylesheet" href="/assets/manage/css/css.css?v=<?php echo htmlentities(\think\Config::get('site.version')); ?>">
<link rel="stylesheet" href="//at.alicdn.com/t/c/font_3789954_npmbld8fjlc.css">
<script src="/assets/js/require<?php echo \think\Config::get('app_debug')?'':'.min'; ?>.js" data-main="/assets/js/require-frontend<?php echo \think\Config::get('app_debug')?'':'.min'; ?>.js?v=<?php echo htmlentities($site['version']); ?>"></script>
</body>
</html>